package com.mszl.blog.service;

import com.mszl.blog.dao.pojo.SysUser;
import com.mszl.blog.vo.Result;
import com.mszl.blog.vo.UserVo;

public interface SysUserService {
    SysUser findUserById(Long userId);

    SysUser findUser(String account, String pwd);

    Result getUserByToken(String token);

    Result logout(String token);

    SysUser findUserByAccount(String account);

    void save(SysUser sysUser);

    UserVo findUserVoById(Long id);
}
